<%@ page language="java"  pageEncoding="UTF-8"%>
<%@ include file="/views/commons/taglibs.jsp" %>
<script src="<%=path %>/js/common.js"></script>
<div class="panel-heading">
	<h3 class="panel-title">我拆解的项目</h3>
</div>
<div class="bd clearfix">
	<form id="my_analyze_choose_form" action="javascript:void(0);">
		<div class="filter-wrap">
			<dl class="clearfix invest-filter">
				<dt>项目名</dt>
				<dd class="clearfix">
					<div class="col-sm-4 mb20">
						<div class="input-group">
							<input type="text" name="projectName" value="${paramMap.projectName}" class="form-control" placeholder="请输入项目名关键词">
							<span class="input-group-btn">
								<button class="btn btn-primary" type="button" onclick="javascript:queryMyAnalyzeList(1);">搜索</button>
							</span>
						</div>
					</div>
				</dd>
			</dl>
			<d:radio describe="项目类型" tableColumn="platform_type" fieldName="platformType" 
				value="${paramMap.platformType}" type="query" queryFunction="queryMyAnalyzeList"></d:radio>
		</div>
	</form>
</div>
<c:choose>
<c:when test="${!empty dataList && fn:length(dataList) ne 0}">
<table class="table">
	<thead>
		<tr>
			<th width="40%">项目名</th>
			<th width="20%">项目类型</th>
			<th width="20%">收费类型</th>
			<th width="20%">操作</th>
		</tr>
	</thead>
	<tbody>
		<c:forEach var="projectAnalyze" items="${dataList}" varStatus="index">
		<tr>
			<td class="title">
				<a href="<%=path %>/account/analyze/view/${projectAnalyze.projectAnalyzeId}" target="_blank">${projectAnalyze.projectName}</a>
			</td>
			<td >
				${projectAnalyze.platformTypeName}
			</td>
			<td>${projectAnalyze.chargeStateName}</td>
			<td>
			<a href="<%=path %>/check/analyze/toUpdate/${projectAnalyze.projectAnalyzeId}" target="_blank">编辑</a>
			</td>
		</tr>
		</c:forEach>
	</tbody>
</table>
<!-- 分页 -->
<p:pagination pageNo="${paramMap.pageNo}" pageCount="${paramMap.pageCount}" queryFunction="queryAdminAnalyzeList" style="text-center"></p:pagination>
<!-- 分页 end -->
</c:when>
<c:otherwise>
	<table class="table">
		<thead>
			<tr>
				<th width="40%">项目名</th>
				<th width="20%">项目类型</th>
				<th width="20%">收费类型</th>
				<th width="20%">操作</th>
			</tr>
		</thead>
		<tbody>
			<tr>
				<td colspan="4" align="center">
					暂无数据
				</td>
			</tr>
		</tbody>
	</table>
</c:otherwise>
</c:choose>